package com.capricornus.demo.service.user;

import com.capricornus.demo.model.Department;
import com.capricornus.demo.model.DepartmentTree;

import java.util.List;

public interface DeptService {

    /**
     * 树形展示查询
     * @return
     */
    List<DepartmentTree> selectDeptTreeList();

    /**
     * 查询单个信息
     * @param deptId
     * @return
     */
    Department selectDeptInfo(String deptId);

    /**
     * 编辑
     * @param department
     * @return
     */
    int update(Department department);



}
